.form-control { display:inline-block;width:auto; }
.btn,.form-control { margin:2px; }

/* Global Styles */

/* ------------------------------- */

body {
	padding-top: 100px;
	background-color: #f8f8f8;
}

@media(min-width:768px) {
	body {
		padding-top: 50px;
	}
}

/* Wrappers */

/* ------------------------------- */

#wrapper {
	width: 100%;
}

#page-wrapper {
	padding: 0 15px;
	height: 100%;
	background-color: #fff;
	overflow-y:scroll;
}

@media(min-width:768px) {
	#page-wrapper {
		position: inherit;
		margin: 0 0 0 250px;
		padding: 0 30px;
		border-left: 1px solid #e7e7e7;
	}
}

/* Navigation */

/* ------------------------------- */

/* Top Right Navigation Dropdown Styles */

.navbar-top-links li {
	display: inline-block;
}

.navbar-top-links li:last-child {
	margin-right: 15px;
}

.navbar-top-links li a {
	padding: 15px;
	min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
	display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
	margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
	padding: 3px 20px;
	min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
	white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
	width: 310px;
	min-width: 0;
}

.navbar-top-links .dropdown-messages {
	margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
	margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
	margin-left: -123px;
}

.navbar-top-links .dropdown-user {
	right: 0;
	left: auto;
}

/* Sidebar Menu Styles */

.navbar-static-side ul li {
	border-bottom: 1px solid #e7e7e7;
}

.sidebar-search {
	padding: 15px;
}

.arrow {
	float: right;
}

.fa.arrow:before {
	content: "\f104";
}

.active > a > .fa.arrow:before {
	content: "\f107";
}

.nav-second-level li,
.nav-third-level li {
	border-bottom: none !important;
}

.nav-second-level li a {
	padding-left: 37px;
}

.nav-third-level li a {
	padding-left: 52px;
}

@media(min-width:768px) {
	.navbar-static-side {
		z-index: 1;
		position: absolute;
		width: 250px;
		margin-top: 51px;
	}

	.navbar-top-links .dropdown-messages,
	.navbar-top-links .dropdown-tasks,
	.navbar-top-links .dropdown-alerts {
		margin-left: auto;
	}
}

@media(max-height:600px) and (max-width:767px) {
	.sidebar-collapse {
		max-height: 300px;
		overflow-y: scroll;
	}
}

@media(max-height:400px) and (max-width:767px) {
	.sidebar-collapse {
		max-height: 200px;
		overflow-y: scroll;
	}
}

.page-header .btn {
	float:right;
}

.actionbox {
	width:200px;
}